#pragma once

#ifndef SGCOMPOSITE_H
#define SGCOMPOSITE_H


#include "SgObject.h"
#include <list>
#include <vector>


class CSgComposite : public CSgObject
{
public:
	CSgComposite(void);
	~CSgComposite(void);

	void Render(void);

	void AddChild(CSgObject *p_child);

protected:
	// A polygon is a list of vertices
	std::vector< CSgPtr<CSgObject> > m_children;
};

#endif